<template>
    <el-menu
        default-active="2"
        class="el-menu-vertical-demo"
        background-color="#545c64"
        text-color="#fff"
        active-text-color="#ffd04b"
        :router="true"
    >
        <el-submenu index="1">
            <template slot="title">
                <i class="el-icon-s-tools"></i>
                <span>管理员</span>
            </template>
            <el-menu-item-group>
                <el-menu-item index="/insuranceSystem/Administrator"
                    >管理员列表</el-menu-item
                >
                <el-menu-item index="/insuranceSystem/Addadministrator"
                    >新增管理员</el-menu-item
                >
            </el-menu-item-group>
        </el-submenu>

        <el-submenu index="2">
            <template slot="title">
                <i class="el-icon-s-custom"></i>
                <span>销售员</span>
            </template>
            <el-menu-item-group>
                <el-menu-item index="/insuranceSystem/AddSalesman"
                    >客服人员列表</el-menu-item
                >
                <el-menu-item index="/insuranceSystem/SalesmanList"
                    >销售人员列表</el-menu-item
                >
            </el-menu-item-group>
        </el-submenu>

        <el-submenu index="3">
            <template slot="title">
                <i class="el-icon-s-custom"></i>
                <span>客户管理</span>
            </template>
            <!-- <el-menu-item-group>
                <el-menu-item index="/insuranceSystem/CustomerManagement"
                    >客户管理</el-menu-item
                >
            </el-menu-item-group> -->
            <el-menu-item-group>
                <el-menu-item index="/insuranceSystem/getUsers"
                    >客户信息</el-menu-item
                >
            </el-menu-item-group>
            <el-menu-item-group>
                <el-menu-item index="/insuranceSystem/getUsersSubsidiary"
                    >所属销售员</el-menu-item
                >
            </el-menu-item-group>
        </el-submenu>

        <el-submenu index="4">
            <template slot="title">
                <i class="el-icon-lollipop"></i>
                <span>产品分类</span>
            </template>
            <el-menu-item-group>
                <el-menu-item index="/insuranceSystem/TypesList"
                    >产品分类列表</el-menu-item
                >
                <el-menu-item index="/insuranceSystem/AddTypes"
                    >新增产品分类</el-menu-item
                >
            </el-menu-item-group>
        </el-submenu>

        <el-submenu index="5">
            <template slot="title">
                <i class="el-icon-reading"></i>
                <span>保险产品</span>
            </template>
            <el-menu-item-group>
                <el-menu-item index="/insuranceSystem/InsuranceProductsList"
                    >保险产品列表</el-menu-item
                >
                <el-menu-item index="/insuranceSystem/AddInsuranceProducts"
                    >新增保险产品</el-menu-item
                >
            </el-menu-item-group>
        </el-submenu>

        <el-submenu index="6">
            <template slot="title">
                <i class="el-icon-s-order"></i>
                <span>订单管理</span>
            </template>
            <el-menu-item-group>
                <el-menu-item index="/insuranceSystem/AllOrdersAdm"
                    >全部订单</el-menu-item
                >
                <!-- <el-menu-item index="/insuranceSystem/PaidOrder"
                    >已支付订单</el-menu-item
                >
                <el-menu-item index="/insuranceSystem/UnpaidOrder"
                    >未支付订单</el-menu-item
                > -->
            </el-menu-item-group>
        </el-submenu>
        <el-submenu index="7">
            <template slot="title">
                <i class="el-icon-s-cooperation"></i>
                <span>理赔订单</span>
            </template>
            <el-menu-item-group>
                <el-menu-item index="/insuranceSystem/AccomplishClaim"
                    >已完成理赔</el-menu-item
                >
                <el-menu-item index="/insuranceSystem/AccomplishUnfinished"
                    >未完成理赔</el-menu-item
                >
            </el-menu-item-group>
        </el-submenu>
    </el-menu>
</template>

<script>
export default {};
</script>

<style>
.el-menu {
    border: none;
}
</style>